import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

import javax.swing.UIManager;

import poker.ConnectGUI;
import poker.Speler;

public class Main
{
	public static void main(String[] arg)
	{
		try {
				UIManager.setLookAndFeel(
				UIManager.getSystemLookAndFeelClassName());
		} catch (Exception e) {}
		try {
			Properties p = new Properties();
			p.load( new FileInputStream("settings.ini") );
			new ConnectGUI(new Speler(p.getProperty("Nick")));
		}
		catch(IOException e) {}
	}
}